<?php
// constants declaration
define("COMPONENT_ROOT", $_SERVER['DOCUMENT_ROOT'].'/reservation-manager/administrator/components/com_resman/');
define("COMPONENT_PATH", "components/com_resman/");
define("ADMIN_COMPONENT_PATH", "administrator/");
define("COMPONENT_NAME", "com_resman");

$max_images_per_unit = 9;
$notice = array();

class Config {
	// database configuration
	public $host = "localhost";
	public $db_name = "resman";
	public $db_user = "root";
	public $db_password = "";
	
	// table configuration
	const resman_prefix = "resman_";
	
	// general configuration
	public static $template = "default";
	
	// admin configurables
	const limiting_stay = 6;
	
	public static function table_prefix(){
		global $mosConfig_dbprefix;
		return $mosConfig_dbprefix.Config::resman_prefix;
	}
}

?>